/* Please visit the URL below for more information: */
/*   https://shd101wyy.github.io/markdown-preview-enhanced/#/customize-css */

.markdown-preview.markdown-preview {


  h1 {
    counter-reset: h2counter;
  }

  h2 {
    counter-reset: h3counter;
    counter-increment: h2counter;
  }

  h2:before {
    content: counter(h2counter, cjk-ideographic) '. ';
    // font-size: 1rem;
  }

  h3 {
    counter-reset: h4counter;
    counter-increment: h3counter;

  }

  h3:before {
    content: counter(h2counter) '.' counter(h3counter) ' ';
    // font-size: 1rem;
  }


  h4 {
    counter-reset: h5counter;
    counter-increment: h4counter;
    font-weight: normal;
  }

  h4:before {
    content: counter(h2counter) '.' counter(h3counter) '.' counter(h4counter) ' ';
    // font-size: 1rem;
  }

  h5 {
    counter-increment: h5counter;
    font-weight: normal;
  }

  h5:before {
    content: counter(h5counter) ' ';
    display: inline-flex;
    background: black;
    color: white;
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 5px;
    justify-content: center;
    align-items: center;
    border-radius: 9999px;
    font-size: .8rem;
  }

  // h2 {
  //   /*重置计数器h3counter的值*/
  //   counter-reset: h3counter;
  //   /*计数器h2counter的值增加1*/
  //   counter-increment: h2counter;
  // }

  // h3:before {
  //   content: counter(h2counter) '\3001';
  // }

  // h3 {
  //   counter-reset: h3counter;
  //   counter-increment: counter(h2counter) h2counter;
  // }

  @media print {}

  // modify your style here
  // eg: background-color: blue;
  &.prince {

    @font-face {
      font-family: sans-serif;
      font-style: normal;
      font-weight: bold;
      src: url("/Users/chendong/leason-ppt-front-end/assets/font/SiYuanHeiTiGoogleBan/NotoSansCJK-Medium-5.otf")
    }

    @font-face {
      font-family: sans-serif;
      font-style: normal;
      font-weight: normal;
      src: url("/Users/chendong/leason-ppt-front-end/assets/font/SiYuanHeiTiGoogleBan/NotoSansCJK-Regular-1.otf")
    }

    @font-face {
      font-family: sans-serif;
      font-style: italic;
      font-weight: normal;
      src: url("/Users/chendong/leason-ppt-front-end/assets/font/SiYuanHeiTiGoogleBan/NotoSansCJK-Regular-1.otf")
    }

    @font-face {
      font-family: sans-serif;
      font-style: italic;
      font-weight: bold;
      src: url("/Users/chendong/leason-ppt-front-end/assets/font/SiYuanHeiTiGoogleBan/NotoSansCJK-Regular-1.otf")
    }

    p,
    strong,
    li {
      font-family: sans-serif;
      // color: red;
    }

    @page {
      @prince-overlay {
        color: green;
        background-color: green;
      }


      @top-center {
        content: url('../assets/imgs/logo.svg');
      }
    }

  }
}